package com.wzu.service;

import com.wzu.dao.CategoryDao;
import com.wzu.dao.CategoryDaoImpl;
import com.wzu.pojo.Category;

import java.util.List;

public class CategoryServiceImpl implements CategoryService {
    private CategoryDao categoryDao = new CategoryDaoImpl();

    @Override
    public List<Category> getCategories() {
        return categoryDao.getCategories();
    }
}